package tgc.edu.exam.entity;

import java.util.UUID;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Transient;

import org.springframework.data.annotation.CreatedBy;

import tgc.edu.exam.custom.BaseEntity;

/***
 * 学员考核表
 * @author Administrator
 *
 */
@Entity
public class StudentAssess extends BaseEntity<UUID>{

	private Student student;
	/***
	 * 班级id
	 */
	private String banjiid;
	/***
	 * 班级名称
	 */
	private String banji;
	private double score;//考核分数
	private double actualscore;//实际分数
	
	@ManyToOne
	@CreatedBy
	public Student getStudent() {
		return student;
	}
	public void setStudent(Student student) {
		this.student = student;
	}
	public double getScore() {
		return score;
	}
	public void setScore(double score) {
		this.score = score;
	}
	public double getActualscore() {
		return actualscore;
	}
	public void setActualscore(double actualscore) {
		this.actualscore = actualscore;
	}
	public String getBanjiid() {
		return banjiid;
	}
	public void setBanjiid(String banjiid) {
		this.banjiid = banjiid;
	}
	public String getBanji() {
		return banji;
	}
	public void setBanji(String banji) {
		this.banji = banji;
	}
	
	
	
}
